| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

MemorySpaceAllocator.h
1 // MemorySpaceAllocator.h
3 //
5
6 namespace nkMemory
7 {
11 template <typename T>
12 class MemorySpaceAllocator
13 {
14 public :
15
19 virtual ~MemorySpaceAllocator () = default ;
20
21 // Implementation
27 virtual UniquePtr<T> allocate (unsigned long long size) = 0 ;
28 } ;
29 }
nkMemory::MemorySpaceAllocator::~MemorySpaceAllocator
virtual ~MemorySpaceAllocator()=default
nkMemory::MemorySpaceAllocator::allocate
virtual UniquePtr< T > allocate(unsigned long long size)=0
nkMemory::UniquePtr
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
nkMemory::MemorySpaceAllocator
Defines the interface for a memory space allocator, to be used within the pagers.
Definition: MemorySpaceAllocator.h:13
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7